﻿<!DOCTYPE html>
<html>

<head>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/assets/css/login.css" />
<title>企树钉钉isv后台管理系统</title>
<%
	System.out.println("123");
%>
</head>
<body onLoad="checkParent()">
<input type="hidden" id="TenantId" name="TenantId" value="" />
	<div class="content1"> 
		<div class="beijing"></div>
		<div class="box">
			<div class="left">企树钉钉isv后台管理系统</div>
			<div class="right">
				<form action="login" method="post">
					<div class="logo"></div>
					<div class="shurukuang1">
						<input type="text" placeholder="请输入账号" class="shuru1" name="mobile"> 
						<img class="img1" src="<%=request.getContextPath()%>/assets/img/login/zhanghao@3x.png">
					</div>
					<div class="shurukuang2">
						<input type="password" placeholder="请输入密码" class="shuru2" name="password"> 
						<img class="img2" src="<%=request.getContextPath()%>/assets/img/login/mima@3x.png">
					</div>
					 <div class="errMsgBox">${errMsg}</div>
					<input type="submit" class="buttom1" value="登录"> 
					<input type="reset" class="buttom2" value="取消">
				</form>
			</div>
		</div>
	</div>

<script type="text/javascript">
    function checkParent(){
        if(window.parent.length){
            top.location.replace("<%=request.getContextPath()%>/login");
        }
    };
</script>
</body>
</html>
